function getId<T>(Id: T) {
    return Id
}

let numberId = getId(1)
let stringId = getId('1') // stringId is inferred to be of type string